package cn.fff.model.system;

import cn.fff.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@ApiModel(description = "系统角色")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_role") // 表名称
public class SysRole extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("角色名称")
	@TableField("role_name")
	private String roleName;

	@ApiModelProperty("角色码")
	@TableField("role_code")
	private String roleCode;

	@ApiModelProperty("角色描述")
	@TableField("description")
	private String description;

}

